package com.landiao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.landiao.entities.ServiceItem;

public interface ServiceItemMapper extends BaseMapper<ServiceItem,String>{
    int deleteByPrimaryKey(String serviceItemId);

    int insert(ServiceItem record);

    int insertSelective(ServiceItem record);

    ServiceItem selectByPrimaryKey(String serviceItemId);

    int updateByPrimaryKeySelective(ServiceItem record);

    int updateByPrimaryKey(ServiceItem record);
    
    ServiceItem selectOne(ServiceItem record);
    
    /**
     * 根据员工和门店获取服务项目
     */
    List<ServiceItem> selectByEmployAndShop(@Param("employeeId")String employeeId,@Param("shopId")String shopId);
}